<g:hiddenField name="id" />
<div class="fieldcontain">
	<label for="name">
		<g:message code="role.name.label" default="名称" />
		
	</label>
	<g:textField name="name" required="true"  class="easyui-validatebox"/>
</div>

<div class="fieldcontain">
    <label for="authority">
        <g:message code="role.authority.label" default="代码" />
    </label>
    <g:textField name="authority" required="true"  class="easyui-validatebox" />
</div>

<div class="fieldcontain">
    <label for="authority" style="float: left;">
        <g:message code="requestmap.label" default="模块" />
    </label>
    <div style="float: left;width:70%;">
    <g:each in="${requestmaps}" var="rm">
        <g:checkBox name="requestmapId" id="requestmapChk$rm.id" value="$rm.id"/><label style="width:auto;" for="requestmapChk${rm.id}">${rm.name}</label>
    </g:each>
    </div>
</div>

